Improved method and device for correlating multiple tables in a database environment

ABSTRACT

A system, process, and method for organizing unstructured data stored in a database environment with table structure such that the data is retrievable using relational set logic, even with a database environment that does not provide relational table structures, is disclosed. The method creates, updates, and deletes database objects as necessary to describe the relationships between disparate data object types for various unique values and to provide the necessary information to retrieve the desired data objects. A device embodying and enabling the practice of the method is also disclosed.

This invention relates to a method for correlating multiple sets of collected data (stored in a plurality of tables in a database environment) quickly and efficiently even if the tables are large and/or constantly updated. The method of the invention allows searching for related information quickly and efficiently even if the tables are not actively structured, indexed, or related. The invention extends to a device which implements the method.

PRIORITY CLAIM

This application claims priority from one or more previously filed Provisional patent applications, namely:

U.S. Provisional Patent Application Ser. 62/661,831, “IMPROVED METHOD AND DEVICE FOR CORRELATING MULTIPLE TABLES IN A DATABASE ENVIRONMENT,” filed Apr. 24, 2018.

BACKGROUND OF THE INVENTION

The present invention relates to searching large and/or constantly-updated tables containing data for particular correlations. It is especially useful for, though not limited to, searching multiple large tables for correlated information. It will be described in the context of searching tables of network activity and information for particular correlations which may indicate attempts to penetrate secure networks, establish means to penetrate secure networks at a later time or upon the occurrence of some other event, or otherwise evade computer security protections of various types. However, the problem it addresses is an old and general one in the art, as will be set forth below.

For purposes of this application, a database management system (“DBMS”) will be defined as computer software which creates an information storage environment operating on one or more general purpose or specially designed computer systems allowing the creation and manipulation of one or more digital files (“databases”) containing a plurality of tables, each table containing one or more records, each record containing a plurality of fields, and each field containing some specific piece of information.

As is well known to those of ordinary skill in the art, DBMS may be considered to belong to one of two general classes: relational systems, in which tables can be actively “related” to each other at the DBMS application level by designating one or more “related” fields common to the related tables, and non-relational systems, in which no such relation can be actively maintained at the application level. (Non-relational DBMS are also referred to as “flat-file” DBMS.)

An example of a relational database would be one containing a table with a list of names and addresses, and a table containing a list of names and birthdates. If the tables were ‘related’ by the name fields at the application level, it would be simple to have the DBMS search for all names associated with a particular birthdate, and use the address table to automatically prepare a personalized birthday greeting including a mailing address for each related name. If the tables were not related at the application level, first all names associated with a particular birthdate would have to be searched from the birthdate table and then the address table would have to be searched for each such name and an individual personalized birthday greeting prepared.

While tables in non-relational DBMS can be manually related by choosing a suitable field from at least two tables and then performing individual operations on the tables relative to the common elements of those fields, the functionality of a relational DBMS, for purposes of this application, is part of the overhead of the computer software which creates, maintains, and accesses the DBMS. If two tables are related at the application level, the computer software will automatically maintain knowledge of the related elements, any search which involves the related tables will be made faster, and operations are supported which allow more complex manipulation of the related data with less effort on the part of the user. The tradeoff is that maintaining the relation(s) requires large amounts of resources which make the overall computer software slower and the file storage necessary greater.

Non-relational DBMS, free of the overhead of maintaining the relationships and storing information about them at the application level, can be faster and the file storage requirements can be lower. Additional efficiencies are also possible due to the lack of restrictions that relational DBMS by necessity impose on related tables.

Similarly, tables in a DBMS may be “indexed” or “non-indexed.” An indexed table is one which contains at least one index field in every record, with the contents of that index field being unique to each record. (For instance, a table of items with serial numbers can use the item serial numbers as an index field, as serial numbers by definition are unique to individual items.) Indexing a table makes it faster and more efficient to sort or otherwise process in some ways, but imposes overhead, restrictions and file storage requirements which are not necessary for non-indexed tables.

It is an old problem in the art to select the parameters for the creation of DBMS such that they are relational or non-relational, and/or use indexed or non-indexed tables. Relational DBMS and indexed tables provide many advantages but as the amount of data in the table(s) as the database grows, the overhead, storage, and restrictions inherent in these features become much more burdensome. Modern network activity logs, for instance, can generate tables with millions of entries per day or even per hour, and are updated hundreds or thousands of times per second. The amount of data generated is large and the overhead associated with dynamically indexing it and maintaining relationships, if such is desired, is equally large.

It would be useful to provide a method for gaining some of the advantages that relational DBMS and/or indexed tables provide without requiring that the DBMS be actively relational and/or that the tables therein be dynamically indexed. The present invention addresses these concerns.

SUMMARY OF THE INVENTION

Among the many objectives of the present invention is the provision of a method for organizing unstructured data stored in a non-relational DBMS such that the data is retrievable using a novel application of relational set logic.

Another objective of the present invention is the provision of a method for rapidly and efficiently determining whether two or more tables contain corresponding data.

Another objective of the present invention is the provision of a method for efficiently monitoring tables containing unstructured data and performing a predetermined plurality of steps if data added to one table corresponds to data already present in another table.

Yet another objective of the present invention is the provision of a device which will automatically execute the method(s) of the invention and accept input from a user to execute the method(s) as directed by the user.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 depicts a structure diagram of three tables for use with the method.

FIG. 2 depicts three tables for use with the method containing actual data.

FIG. 3 depicts a flow chart of the first part of the method of the invention.

FIG. 4 depicts a flow chart of the second part of the method of the invention.

FIG. 5 depicts a structure diagram of a digital computer device which can embody the invention.

FIG. 31 depicts a sample output comprising a first Stitch Object Table.

FIG. 32 depicts a sample output comprising a second Stitch Object Table.

FIG. 33 depicts a sample output comprising a third Stitch Object Table.

FIG. 34 depicts a sample output comprising a first Stitch Object Map Table.

FIG. 35 depicts a sample output comprising a second Stitch Object Map Table.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

Reference will now be made in detail to several embodiments of the invention that are illustrated in accompanying drawings. Whenever possible, the same or similar reference numerals are used in the drawings and the description to refer to the same or like parts or steps. The drawings are in simplified form and are not to precise scale. For purposes of convenience and clarity only, directional terms such as top, bottom, left, right, up, down, over, above, below, beneath, rear, and front, may be used with respect to the drawings. These and similar directional terms are not to be construed to limit the scope of the invention in any manner. The words attach, connect, couple, and similar terms with their inflectional morphemes do not necessarily denote direct or intermediate connections, but may also include connections through mediate elements or devices. The words “combination” and “permutation” are used in this application in their set theory senses. Unless otherwise reasonably indicated by context, a “combination” is a particular grouping of the elements in a set, whose order is irrelevant. A “permutation” is a single distinct ordered grouping of the elements in a set. Assuming all elements must be selected, there can only be one combination of any particular group of elements having N elements: there are N! (“N Factorial”) permutations of such a group.

For purposes of the description of the preferred embodiment(s,) a DBMS running on a single “server,” or a single physical computer running a software application which provides the functionality of the DBMS, will be assumed. It is well known to those of ordinary skill in the relevant art that DBMS can be operated on “virtual” servers comprising a single instance of an operating system running contemporaneously with other instances of operating systems on a single physical computer, and/or on “clusters” comprising a plurality of actual or virtual servers, and/or that the data stored in the DBMS' database(s) may be stored on a plurality of separate servers or information storage devices which may or may not be integral to the server(s) running the DBMS software application.

Furthermore, many DBMS utilize a “client/server” configuration where some operations take place on the server running the DBMS software application and others take place on a separate computer or computers being operated by a user. Any or all of the devices involved in the configuration of the DBMS server(s) and/or clients may be physically proximate and connected remotely through wired or wireless networking, or virtually connected through the global computer network. The underlying configuration, location, and connection structure of the DBMS server(s) and/or any client computers and/or any information storage devices are irrelevant for the purposes of the invention, and any reasonable configuration desired and implemented by a person of ordinary skill in the relevant art will serve to perform the method of the invention or serve as a device for its implementation.

For purposes of the description of the preferred embodiment, a single unlimited database object, created and maintained by a DBMS running on the server, which allows for the creation of two or more tables will be assumed. Each of the tables will contain at least one record, each of which contains at least one field, each field containing a single stored piece of information. These records can comprise delimited lines in a text file, delimited objects (for example, JSON objects) in a text file, individual data objects in an appropriate digital “container,” or any other desired format.

The stored pieces of information can be any desired and feasible type of information, such as text, numbers, or image data. It is optional to store pieces of information in the Index Table, the Stitch Object Table, and the Stitch Map Object Table (infra) as “hashed” values. “Hashing” a stored piece of information is an operation well known in the art, and it will not be specifically defined herein. If it is desired to be able to search non-textual data such as image data, it is optional that such non-textual data be hashed and converted to textual data (e.g. hexadecimal numbers representing pixel values) to increase the efficiency of the method of the invention.

The following tables will be assumed to be defined and, where appropriate, dynamically maintained as new information appropriate for storage within those tables becomes available. The fields defined as “included” are required, but additional fields can be added without affecting the basic operation of the method.

By referring to FIGS. 1 and 2, the basic structure of tables to which the method of the invention can be applied can be easily understood. FIG. 1 depicts a structure diagram of three tables, S-TABLE1 11, S-TABLE2 12, and S-TABLE3 13. FIG. 2 depicts three tables TABLE1 21, TABLE2 22, and TABLE3 23, having the same structure, but containing actual data. (The data shown is fictional and does not correspond to any actual person or entity.) Although no two columns of any table have the same name, each table has at least one column which stores data of the same type as is stored in a column of at least one other table. For convenience, the corresponding columns of each table have similar shading. While the example tables shown are simple, the method will work with tables of any size, and is particularly suitable for use with very large non-structured, non-relational tables such as are commonly used in the field of network activity monitoring and security, e-commerce, or financial transactions. Such tables are often stored as what are referred to as JSON files, which are large non-structured text files containing individual data records stored as text with a particular format known as name-value pairs. Each record in a JSON file has a format similar to the following:

{“$ NAME1”:$VALUE1,“$NAME2”:$VALUE2, [ . . . ] “$ NAME(n)”:$VALUE(n)}

Where each $NAME(n) is the name of a column in a record, and each $VALUE(n) is the value stored in that column in that record. As a JSON file, TABLE1 21 from FIG. 2 would look like this:

[ {“NAME”:“SAM SMITH”,“DOB”:01091970, “HAIRCOLOR”:“BROWN”} {“NAME”:“SARAH JONES”,“DOB”:07091999, “HAIRCOLOR”:“BLONDE”} {“NAME”:“PAUL WHITE”,“DOB”:04051966,“HAIRCOLOR”:“RED”} ]

Tables stored in JSON text format are non-relational and have no enforced structure other than that of proper delimitation: it is not required that any particular record contains values, including null values, for any particular column that may be referred to elsewhere in the table. The method of the invention overcomes the lack of these properties and allows rapid and efficient searching of such tables, as will now be demonstrated.

FIG. 3 shows a flow chart of the first part of the method of the invention: specifically, indexing existing data and dynamically monitoring new data to be indexed. In STEP 311, at least three existing non-relational Data Tables are obtained. These tables can be obtained by any reasonable means, including by obtaining/requesting user input, by using previously created data to assemble the tables, or by simply referring to existing tables already created and available. They contain Data Records, which can be stored as name-value pairs or in any other reasonable format. It is required that the Data Tables not be stored by the DBMS in a relational form.

In STEP 312, an Index Table is created. The Index Table comprises a new table containing multiple Index Records, each Index Record containing the following information stored as a name-value pair:

-   -   1) Each unique data value found in the Data Tables, paired with         a list of the names of every Data Table which contains that data         value. It is preferred, but not required, that the data values         and the names of the Data Tables are hashed. There is one Index         Record for each unique data value in the Data Tables.         -   —OR—     -   2) Each unique column name (name value) found in the Data         Tables, paired with a list of the names of every Data Table         which contains that column name. It is preferred, but not         required, that the column names and the names of the Data Tables         are hashed. There is one Index Record for each unique column         name in the Data Tables.

In STEP 313, a first Data Table is selected, and each Data Record in that Data Table is evaluated for both any unique values which are not already stored in the Index Table, and any unique column names which are not stored in the Index Table. If a Data Record contains a unique value not yet stored in the Index Table, a new Index Record is created, which has the unique value (or its hash if hashes are being used) as a name and the name of the table (or its hash if hashes are being used) as a value. Likewise if a Data Record contains a unique column name not yet stored in the Index Table, a new Index Record is created, which has the column name (or its hash if hashes are being used) as a name and the name of the table (or its hash if hashes are being used) as a value.

If a Data Record contains a column name which is stored in the Index Table, but the unique column name associated with that Data Record is not stored in the Index Record associated with that unique column name, the unique column name is added to the existing Index Record in which the unique column name is stored.

If the information stored in the Index Table is hashed, it is required to generate a temporary hash value for each unique value and column name in the Data Record being evaluated for purposes of this evaluation and so the hashed value/column name may be added to the Index Table if appropriate.

In STEP 314, the next Data Table is selected and evaluated. In this step, if a unique value or column name is found which is already stored in the Index Table, the name of the current Data Table (or its hash) is added to the value of the corresponding Index Record. If a unique value or column name is found which is not stored in the Index Table, a new Index Record is created and populated as in STEP 313. It is optional to create a temporary list of previously evaluated unique values and column names from the current Data Table and check each evaluated Data Record against the temporary list before checking for the presence of the unique values and column names in the current Data Record in the Index Table. If the currently evaluated Data Record contains no unique values or column names not already on the temporary list, it is not necessary to search the Index Table and the next Data Record can be selected and evaluated. This step is repeated until all Data Records in the current Data Table have been evaluated.

In STEP 315, it is determined whether there are Data Tables which have not been evaluated for the creation of Index Records. (Noting that the method of the invention requires that there be at least three, so this determination will be found to be true at least once.) If so, the next un-evaluated Data Table is selected for evaluation and the method returns to STEP 314. If not, the method continues.

In STEP 316, a Stitch Object Table is created. A Stitch Object Table is a table which contains Stitch Objects. A Stitch Object is a record which contains a key-object pair, with the key being equivalent to a unique value found in at least one of the Data Tables (or its hash,) and the object being a table containing records of all Data Tables in which that unique value is found and for each such Data Table, the name of the column(s) in which that unique value can be found.

In STEP 317, a first Data Table is selected and each Data Record in that Data Table is evaluated for the creation of Stitch Objects. When a unique value is found which is not already referred to by a Stitch Object, a new Stitch Object is created and stored in the Stitch Object Table. When a unique value is found which is referred to by a Stitch Object, but which appears in a column which is not yet associated with that unique value in the Stitch Object, the name of the column is added to the Stitch Object for that unique value. It is preferred, but not required, to use hashes for both the unique values, the names of the Data Tables, and the names of the columns when storing them in Stitch Objects.

As an example of the process of STEP 317, the Stitch Objects shown in FIG. 31 would be created if STEP 317 were applied to TABLE2 in FIG. 2. Note that hashing is not being applied to make the references clearer. Also, the column “row#” is not being evaluated as it is an optional record location value, unique to each record in the table.

In STEP 318, the next Data Table is selected and evaluated for the creation of Stitch Objects. If a unique value is found which is not stored in a Stitch Object, a new Stitch Object is created and stored. If a unique value is found which is already stored in a Stitch Object, the name of the current Data Table and the column in which the unique value is stored in the current Data Table is added to the corresponding Stitch Object. It is optional to create a temporary list of previously evaluated unique values and column names from the current Data Table and check each evaluated Data Record against the temporary list before checking for the presence of the unique values and column names in the current Data Record in the Stitch Object Table. If the currently evaluated Data Record contains no unique value/column name pairs not already on the temporary list, it is not necessary to search the Stitch Object Table and the next Data Record can be selected and evaluated. This step is repeated until all Data Records in the current Data Table have been evaluated.

As an example of the process of STEP 318, the Stitch Objects shown in FIG. 32 would be found in the Stitch Object Table if STEP 318 were applied to TABLE1 in FIG. 2 after STEP 317 had already produced the results noted in the prior example. Note that hashing is not being applied to make the references clearer. Also, the column “row#” is not being evaluated as it is an optional record location value, unique to each record in the table.

In STEP 319, it is determined whether there are Data Tables which have not been evaluated for the creation of Stitch Objects. If so, the next un-evaluated Data Table is selected for evaluation and the method returns to STEP 318. If not, the method continues.

As an example of the process of STEP 319, the Stitch Objects shown in FIG. 33 would be found in the Stitch Object Table if STEP 319 were applied to TABLE3 in FIG. 2 after STEP 318 had already produced the results noted in the prior example. Note that hashing is not being applied to make the references clearer. Also, the column “row#” is not being evaluated as it is an optional record location value, unique to each record in the table.

In STEP 320, a Stitch Map Object Table is created. The Stitch Map Object Table holds Stitch Map Objects, which are key-object pairs in which the key is a unique value found in at least two Data Tables concatenated with the names of at least two Data Tables which contain that Data Table (or hashes of all of these,) and the object is a table containing records which contain a list of all combinations of columns in the correlating Data Tables (referenced in the key) which contain the unique value (referenced in the key) and at least one optional reference values (e.g. which rows in the correlating Data Tables contain the unique value.) There will be one Stitch Map Object for each combination of Data Tables which contain the referenced unique value.

In STEP 321, a Data Table is selected as the current Data Table and Stitch Map Objects are created for each unique value in the selected Data Table.

In STEP 322, a determination is made as to whether there are any Data Tables remaining which have not been evaluated for the creation of Stitch Map Objects. If so, an unevaluated Data Table is selected as the current Data Table and STEP 321 is repeated. If not, the method continues.

As an example, FIG. 34 shows a Stitch Map Object for the unique value “SAM SMITH” as referenced in all Data Tables in FIG. 2. Note that hashing is not being applied to make the references clearer. This is how the Stitch Map Object for the unique value “SAM SMITH” would appear at the end of STEP 322.

It is optional, but not required, to have one Stitch Map Object for each permutation of Data Tables which contain the referenced unique value. This increases storage and computational overhead, but allows prioritization of search of a particular permutation if this would produce a lower number of required operations to perform any particular search. FIG. 35 shows Stitch Map Objects for all permutations of Data Tables referencing the unique value “SAM SMITH” in FIG. 2. Note that hashing is not being applied to make the references clearer. This is how the Stitch Map Object for the unique value “SAM SMITH” would appear at the end of STEP 322 if this optional procedure were applied.

In optional STEP 323, the Data Tables are monitored for new entries, and/or the DBMS is monitored for the addition of new Data Tables, and the Index Table, the Stitch Map Table, and the Stitch Map Object Table are dynamically updated to include any unique values, et cetera, which may appear. This concludes the first part of the method of the invention.

FIG. 4 shows a flow chart of the second part of the method of the invention. It will be assumed, for purposes of describing the method of the invention, that the first part of the method (See FIG. 3) has been performed in relation to the Data Tables found in FIG. 2, creating an Index Table, a Stitch Object Table, and a Stitch Map Object Table. A user wishes to determine whether a certain unique value exists such that it is found in at least two tables in corresponding columns and further, what correlating information is found in each Data Table where such unique value may be found. (For example, “NAME” in TABLE1 and “PERSNAME” of FIG. 2.) In this case, the user desires to check two names, in sequence: “PAUL WHITE,” and “SAM SMITH.”

In STEP 411, the user inputs the search value “PAUL WHITE.”

In STEP 412, the Index Table is searched for the value “PAUL WHITE.” This would return a positive result, confirming that the value is found in at least one table. If that was the entire object of the user's search, the method would provide that confirmation and then stop. It would also confirm that the value is found only in TABLE1. If a listing of Data Tables containing the value was the entire object of the user's search, the method would provide that listing and then stop. Otherwise the method would continue.

In STEP 413, the Stitch Object Table is searched for the combination of tables plus the value (or their respective hashes) which is desired. For purposes of this description of the preferred embodiment, it will be assumed that the user is searching for all records in which “PAUL WHITE” appears in both TABLE1 and TABLE2. Searching the Stitch Object Table in FIG. 33 shows that TABLE2 does not appear in the Stitch Object for “PAUL WHITE,” so the method would return a negative indication and then stop. Otherwise the method would continue, as shown in the description below.

-   -   Redoing the same search for “SAM SMITH,” starting with STEP 411,         results in similar results until STEP 413. Since the Stitch         Object for “SAM SMITH” contains both TABLE1 and TABLE2, if         confirmation that “SAM SMITH” appeared in both tables under the         appropriate columns (PERSNAME and NAME) was the entire object of         the user's search, the method would indicate that and then stop.         Otherwise it would continue.

In STEP 414, the Stitch Map Object Table is searched for the key corresponding to the combination of the desired tables and the search value (“TABLE1TABLE2SAM SMITH” or the equivalent hashed and concatenated values.) This would return the object in FIG. 34 (or, if the alternate embodiment is used, the objects in FIG. 35.) This object would then be used to generate whatever information the user has ultimately requested, including whatever data is stored in the Data Tables in the rows identified in the row identifiers included in the Stitch Map Objects corresponding to the generated key. This information can then be output to a screen or a printer in whatever format desired, as will be obvious to those of ordinary skill in the art.

To summarize the purpose of the various tables which are constructed from the Data Tables, each has the following role in the search portion of the method of the invention:

-   -   1) The Index Table exists to allow confirmation that a search         value is found in the Data Tables, and if so, in which Data         Tables it is found.     -   2) The Stitch Object Table exists to allow confirmation that a         search value is found in a particular combination of Data Tables         in particular columns.     -   3) The Stitch Map Object Table exists to allow precise         identification of the records in the Data Tables which satisfy         particular parameters regarding search values.

It will be obvious to those of ordinary skill in the art that the method of the invention can also be used to find correlations of sets of values present in two or more Data Tables. Instead of defining a single unique value, the user defines a target column of one or more Data Tables. (For example, “NAME” in TABLE1 of FIG. 2) STEP 411 is then iterated for each value in the target column, and all resulting matches are output as above.

Without changing the underlying method of the invention, additional steps, including but not limited to the following, could be added. The combination of the method as thus far described with the steps set forth below, even if the additional steps happen to be known in the prior art as individual actions, results in an overall method which is novel and addresses the objectives of the invention in a new and unanticipated way.

-   -   1) Since the method requires that any new data be checked for         uniqueness relative to all processed Data Tables, it is trivial         to notify either human beings, automated monitoring processes,         or both, when novel data is added to a particular Data Table in         a database by including such notification in the step where the         new reference hash is added to the Reference Table. By adding a         step checking an existing reference hash (or if preferred, an         existing reference value) for associations with the Data Table         the new data is being added to, it is also trivial to monitor         individual Data Tables for the addition of data which is novel         to the individual Data Table.     -   2) If, for example, the invention is being used to monitor a         table of unique IP addresses visiting a marketing website, if a         value is added to a selected table, the DBMS can be configured         such that the check for the existence of a unique reference hash         (or if preferred, reference value) will also perform a secondary         step notifying any and all human users desired via email (or         other messaging means) that a reference hash (or if preferred,         reference value) has been generated which associates a new         access table entry with a new potential marketing opportunity.     -   3) Similarly, if the invention is being used to monitor a table         of unique IP addresses visiting a marketing website, if a value         is added to a unique visitor table, the DBMS can be configured         such that the check for the existence of a unique reference hash         (or if preferred, reference value) will also perform a secondary         step sending automated monitoring processes or systems that a         reference hash (or if preferred, reference value) has been         generated which associates a new access table entry with a new         marketing opportunity.     -   4) To expand on the above examples, after a notification is sent         to a human being and/or an automated monitoring process or         system when a new correlation appears, the method may extend to         either manual responses (on the part of a human being) or         automatic responses (on the part of an automated monitoring         process or system) which initiate predefined protocols or         methods, such as searching for a known email address associated         with a new IP address and forwarding additional marketing         information.

While the method may be implemented in any reasonable way, FIG. 5 depicts a device which implements the method such that a person of reasonable skill in the art could use such a device to automate part or all of the method.

Computer 50 comprises CPU 52, which executes instructions (such as the computer code for implementing a DBMS) stored in digital files. These files are stored in a persistent storage device such as Hard Drive 54, which can be a mechanical hard drive, a Flash RAM, or any other desired persistent storage device. They are read into RAM 55 by CPU 52, which obtains data stored in a database similarly contained in Hard Drive 54. A user inputs search commands, additional data, or other relevant input through Input Device 58, which can comprise a keyboard, a mouse, a scanner, a voice recognition unit, or any combination of these or other equivalent input means. Information stored on Hard Drive 54, along with interface screens and output information, can be displayed to the user on Display 56, which can comprise a CRT, an LED or LCD, or any other reasonable display means. In addition or alternatively, information can be provided by physical means such as Printer 57.

It is optional to store any part of the DBMS, including code, client application interfaces, server application interfaces, Data Tables or Reference Tables, remotely, for example in Remote Computer 53, which may be connected to Computer 50 via Network 59. Network 59 can comprise physical networking or cabling, wireless networking, or virtual networking through the global computer network.

As an example, and without limitation, a DBMS as described generally in FIG. 5 could include a Relational Object Engine and a Relational Lookup Engine. The Relational Object Engine creates, updates, and deletes a Reference Table (or Reference Tables) as necessary to track the relationships between disparate data stored in Data tables for various unique values and to provide the necessary information to retrieve the desired data. The Relational Lookup Engine can efficiently locate and retrieve document objects described by queries, optionally filtering the result set before retrieval and providing the results to the client.

In a preferred embodiment, the DBMS includes a Relational Organization Engine, a Relational Lookup Engine, an API, and a data storage system. The Relational Organization Engine examines Data tables and creates Reference Tables objects to describe relationships between data objects that vary in type but contain matching values or overlapping values, such as numeric ranges. The Reference Tables include the information necessary for the DBMS to retrieve the original data objects by means of searching the Data Tables which contain them. The Relational Lookup Engine processes search values to find matching reference values, finds all Data Tables which contain the reference value(s) corresponding to the search value, and then optionally retrieves and/or processes the values stored in the Data Tables.

While various embodiments and aspects of the present invention have been described above, it should be understood that they have been presented by way of example only, and not limitation. Thus, the breadth and scope of the present invention should not be limited by any of the above exemplary embodiments.

This application—taken as a whole with the abstract, specification, and drawings being combined—provides sufficient information for a person having ordinary skill in the art to practice the invention as disclosed herein. Any measures necessary to practice this invention are well within the skill of a person having ordinary skill in this art after that person has made a careful study of this disclosure.

Because of this disclosure and solely because of this disclosure, modification of this device and method can become clear to a person having ordinary skill in this particular art. Such modifications are clearly covered by this disclosure. Because of this disclosure and solely because of this disclosure, modification of this device and method can become clear to a person having ordinary skill in this particular art. Such modifications are clearly covered by this disclosure. 

What is claimed and sought to be protected by Letters Patent is:
 1. A method for correlating multiple tables in a database environment comprising the steps of: a) Initiating a computer software application comprising a database management system application capable of creating at least six tables including at least three data tables, at least one index table, at least one stitch object table, and at least one stitch map object table, the at least six tables each having a unique corresponding table identifier and the at least six tables including: i. a first data table comprising a plurality of first data table records, the plurality of first data table records comprising a plurality of first data table fields, the plurality of first data table fields having a plurality of associated first data table field names and the plurality of first data table fields storing a plurality of first data table field values; ii. a second data table comprising a plurality of second data table records, the plurality of second data table records comprising a plurality of second data table fields, the plurality of second data table fields having a plurality of associated second data table field names and the plurality of second data table fields storing a plurality of second data table field values; iii. a third data table comprising a plurality of third data table records, the plurality of third data table records comprising a plurality of third data table fields, the plurality of third data table fields having a plurality of associated third data table field names and the plurality of third data table fields storing a plurality of third data table field values; iv. an index table, the index table comprising a plurality of index table records, each index table record comprising an index data value field and an index data table name field; v. a stitch object table, the stitch object table comprising a plurality of stitch object key-object pairs, each stitch object key-object pair comprising a stitch object key value and a corresponding stitch object data object, the stitch object data object comprising a table of unique table identifiers and corresponding unique column identifiers associated with the stitch object key value; and, vi. a stitch map object table, the stitch map object table comprising a plurality of stitch map object key-object pairs, each stitch map object key-object pair comprising a stitch map object key value and a corresponding stitch map object data object, the stitch map object data object comprising a table of unique table identifiers and corresponding unique row identifiers associated with the stitch map object key value; b) initiating the computer software application comprising running the computer software application on a computer; c) Creating a first index table in the database management system comprising a plurality of first index table records; d) Designating the first data table as the current data table; e) Designating a first data table field record as the current data record; f) Designating a current value as the first data table field value of the first data table record of the first data table; g) Searching the first index table to determine whether the current value is present in the first index value field of any of the plurality of first index table records; h) Adding a new first index table record to the first index table, storing the current value in the first index value field of the new first index table record, and storing the unique corresponding table identifier of the current data table in the first index table name field of the new first index table record if the current value is not present in the first index value field of any of the plurality of first index table records; i) Appending the unique corresponding table identifier of the current data table to the first table association field of the first index table record containing the current value if the current value is present in the first index value field of any of the plurality of first index table records; j) Determining whether the current data record contains any values which have not been evaluated as in steps (g) through (i) and if so, selecting a next value from the current data record which has not been evaluated as the current value and returning to step (g), otherwise moving to the next step; k) Determining whether the current data table contains any records containing any values which have not been evaluated as in steps (g) through (i) and if so, designating a next current data record from the current data table containing at least one unevaluated value and designating an unevaluated data value in the next current data record as the current value and returning to step (g), otherwise moving to the next step; l) Determining whether any of the plurality of data tables contain any records containing any values which have not been evaluated as in steps (g) through (i), and if so designating a next data table containing at least one unevaluated value as the current data table, designating a next current data record from the current data table containing at least one unevaluated value and designating an unevaluated data value in the next current data record as the current value and returning to step (g), otherwise moving to the next step; m) Creating a first stitch object table in the database management system comprising a plurality of first stitch object table key-object pairs, each of the first stitch object table key-object pairs containing a first stitch object key value and a first stitch object data object; n) Designating the first data table as the current data table; o) Designating a first data table field record as the current data record; p) Designating a current value as the first data table field value of the first data table record of the first data table; q) Searching the first stitch object table to determine whether the current value is present in the first stitch object key value field of any of the plurality of first stitch object key-object pairs; r) Adding a new first stitch object table key-object pair to the first stitch object table, storing the current value in the first stitch object key value field of the new first stitch object table key-object pair, and storing the unique corresponding table identifier of the current data table and the data table field name of the data table field corresponding to the current value in the first stitch object table data object of the new first stitch object table key-object pair if the current value is not present in the first stitch object key value field of any of the plurality of first stitch object table key-object pairs; s) Adding the unique corresponding table identifier of the current data table and the data table field name of the data table field corresponding to the current value in the first stitch object table data object of an existing first stitch object table key-object pair if the current value is present in the first stitch object key value field of any of the plurality of first stitch object table key-object pairs but the unique corresponding table identifier of the current data table and the data table field name of the data table field corresponding to the current value are not present in that first stitch object table key-object pair; t) Determining whether the current data record contains any values which have not been evaluated as in steps (q) through (t) and if so, selecting a next value from the current data record which has not been evaluated as the current value and returning to step (q), otherwise moving to the next step; u) Determining whether the current data table contains any records containing any values which have not been evaluated as in steps (q) through (t) and if so, designating a next current data record from the current data table containing at least one unevaluated value and designating an unevaluated data value in the next current data record as the current value and returning to step (q), otherwise moving to the next step; v) Determining whether any of the plurality of data tables contain any records containing any values which have not been evaluated as in steps (q) through (t), and if so designating a next data table containing at least one unevaluated value as the current data table, designating a next current data record from the current data table containing at least one unevaluated value and designating an unevaluated data value in the next current data record as the current value and returning to step (q), otherwise moving to the next step; w) Creating a first stitch map object table in the database management system comprising a plurality of first stitch object table key-object pairs; x) Designating the first data table as the current data table; y) Designating a first data table field record as the current data record; z) Designating a current value as the first data table field value of the first data table record of the first data table; aa) Searching the first stitch map object table to determine whether the current value is present in the first stitch map object key value field of any of the plurality of first stitch map object table key-object pairs; bb) Adding a new first stitch map object table key-object pair to the first stitch map object table, storing the current value in the first stitch map object key value field of the new first stitch map object table key-object pair, and storing the unique corresponding table identifier of the current data table and a corresponding current data table row number corresponding to the current value in the first stitch map object table data object of the new first stitch map object table key-object pair if the current value is not present in the first stitch map object key value field of any of the plurality of first stitch map object table key-object pairs; cc) Adding the unique corresponding table identifier of the current data table and the corresponding current data table row number corresponding to the current value in the first stitch map object table data object of an existing first stitch map object table key-object pair if the current value is present in the first stitch map object key value field of any of the plurality of first stitch map object table key-object pairs but the unique corresponding table identifier of the current data table and the data table field name of the data table field corresponding to the current value are not present in that first stitch map object table key-object pair; dd) Determining whether the current data record contains any values which have not been evaluated as in steps (aa) through (cc) and if so, selecting a next value from the current data record which has not been evaluated as the current value and returning to step (aa), otherwise moving to the next step; ee) Determining whether the current data table contains any records containing any values which have not been evaluated as in steps (aa) through (cc) and if so, designating a next current data record from the current data table containing at least one unevaluated value and designating an unevaluated data value in the next current data record as the current value and returning to step (aa), otherwise moving to the next step; ff) Determining whether any of the plurality of data tables contain any records containing any values which have not been evaluated as in steps (aa) through (cc), and if so designating a next data table containing at least one unevaluated value as the current data table, designating a next current data record from the current data table containing at least one unevaluated value and designating an unevaluated data value in the next current data record as the current value and returning to step (aa), otherwise ending the method.
 2. A method for correlating multiple tables in a database environment as in claim 1 further comprising the steps of: a) Creating or selecting a search value, the search value comprising a target data value; b) Checking to see if the search value is present in the first index data value field of any of the plurality of first index table records and if so, outputting a subset of the plurality of first index table records in which the first index data value field contains the search value and going to the next step, otherwise indicating to a user that the search value was not found and ending the method; c) Outputting a subset of the plurality of first stitch object key-object pairs from the first stitch object table having a stitch object key value which contains the search value; d) Outputting a subset of the plurality of first stitch map object key-object pairs from the first stitch map object table having a stitch map object key value which contains the search value.
 3. A method for correlating multiple tables in a database environment as in claim 1, wherein the database management system application does not support the creation and maintenance of relationships between corresponding fields in at least two tables at the application level.
 4. A method for correlating multiple tables in a database environment as in claim 2, wherein the database management system application does not support the creation and maintenance of relationships between corresponding fields in at least two tables at the application level.
 5. A device for correlating multiple tables in a database environment comprising: a) a digital computer comprising a CPU, a RAM and/or a persistent storage device, an input device, and a visual display, the RAM and/or the persistent storage device, the input device, and the visual display operably connected to the CPU; b) a database management system application stored on the persistent storage device; c) at least six tables, the at least six tables including at least three data tables, at least one index table, at least one stitch object table, and at least one stitch map object table, the at least six tables being stored on the persistent storage device and each having a unique corresponding table identifier, and the at least six tables including: vii. a first data table comprising a plurality of first data table records, the plurality of first data table records comprising a plurality of first data table fields, the plurality of first data table fields having a plurality of associated first data table field names and the plurality of first data table fields storing a plurality of first data table field values; viii. a second data table comprising a plurality of second data table records, the plurality of second data table records comprising a plurality of second data table fields, the plurality of second data table fields having a plurality of associated second data table field names and the plurality of second data table fields storing a plurality of second data table field values; ix. a third data table comprising a plurality of third data table records, the plurality of third data table records comprising a plurality of third data table fields, the plurality of third data table fields having a plurality of associated third data table field names and the plurality of third data table fields storing a plurality of third data table field values; x. an index table, the index table comprising a plurality of index table records, each index table record comprising an index data value field and an index data table name field; xi. a stitch object table, the stitch object table comprising a plurality of stitch object key-object pairs, each stitch object key-object pair comprising a stitch object key value and a corresponding stitch object data object, the stitch object data object comprising a table of unique table identifiers and corresponding unique column identifiers associated with the stitch object key value; and, xii. a stitch map object table, the stitch map object table comprising a plurality of stitch map object key-object pairs, each stitch map object key-object pair comprising a stitch map object key value and a corresponding stitch map object data object, the stitch map object data object comprising a table of unique table identifiers and corresponding unique row identifiers associated with the stitch map object key value; d) a database management program file stored on the RAM and/or the persistent storage device, the database management program file comprising a set of instructions which are executed by the CPU and cause the database management system application to perform the following operations; i. Create the first index table in the database management system comprising a plurality of first index table records; ii. Designate the first data table as the current data table; iii. Designate a first data table field record as the current data record; iv. Designate a current value as the first data table field value of the first data table record of the first data table; v. Search the first index table to determine whether the current value is present in the first index value field of any of the plurality of first index table records; vi. Add a new first index table record to the first index table, store the current value in the first index value field of the new first index table record, and store the unique corresponding table identifier of the current data table in the first index table name field of the new first index table record if the current value is not present in the first index value field of any of the plurality of first index table records; vii. Append the unique corresponding table identifier of the current data table to the first table association field of the first index table record containing the current value if the current value is present in the first index value field of any of the plurality of first index table records; viii. Determine whether the current data record contains any values which have not been evaluated as in operations (v) through (vii) and if so, select a next value from the current data record which has not been evaluated as the current value and return to operation (v), otherwise perform the following operation; ix. Determine whether the current data table contains any records containing any values which have not been evaluated as in operations (v) through (viii) and if so, designate a next current data record from the current data table containing at least one unevaluated value and designating an unevaluated data value in the next current data record as the current value and return to operation (g), otherwise perform the next operation; x. Determine whether any of the plurality of data tables contain any records containing any values which have not been evaluated as in operations (v) through (ix), and if so designate a next data table containing at least one unevaluated value as the current data table, designate a next current data record from the current data table containing at least one unevaluated value and designate an unevaluated data value in the next current data record as the current value and return to operation (v), otherwise perform the following operation; xi. Create a first stitch object table in the database management system comprising a plurality of first stitch object table key-object pairs, each of the first stitch object table key-object pairs containing a first stitch object key value and a first stitch object data object; xii. Designate the first data table as the current data table; xiii. Designate a first data table field record as the current data record; xiv. Designate a current value as the first data table field value of the first data table record of the first data table; xv. Search the first stitch object table to determine whether the current value is present in the first stitch object key value field of any of the plurality of first stitch object key-object pairs; xvi. Add a new first stitch object table key-object pair to the first stitch object table, store the current value in the first stitch object key value field of the new first stitch object table key-object pair, and store the unique corresponding table identifier of the current data table and the data table field name of the data table field corresponding to the current value in the first stitch object table data object of the new first stitch object table key-object pair if the current value is not present in the first stitch object key value field of any of the plurality of first stitch object table key-object pairs; xvii. Add the unique corresponding table identifier of the current data table and the data table field name of the data table field corresponding to the current value in the first stitch object table data object of an existing first stitch object table key-object pair if the current value is present in the first stitch object key value field of any of the plurality of first stitch object table key-object pairs but the unique corresponding table identifier of the current data table and the data table field name of the data table field corresponding to the current value are not present in that first stitch object table key-object pair; xviii. Determine whether the current data record contains any values which have not been evaluated as in operations (xv) through (xvii) and if so, select a next value from the current data record which has not been evaluated as the current value and returning to operation (xv), otherwise perform the following operation; xix. Determine whether the current data table contains any records containing any values which have not been evaluated as in operations (xv) through (xviii) and if so, designate a next current data record from the current data table containing at least one unevaluated value and designate an unevaluated data value in the next current data record as the current value and return to operation (xv), otherwise perform the following operation; xx. Determine whether any of the plurality of data tables contain any records containing any values which have not been evaluated as in operations (xv) through (xix), and if so designate a next data table containing at least one unevaluated value as the current data table, designate a next current data record from the current data table containing at least one unevaluated value and designate an unevaluated data value in the next current data record as the current value and return to operation (xv), otherwise perform the following operation; xxi. Create a first stitch map object table in the database management system comprising a plurality of first stitch object table key-object pairs; xxii. Designate the first data table as the current data table; xxiii. Designate a first data table field record as the current data record; xxiv. Designate a current value as the first data table field value of the first data table record of the first data table; xxv. Search the first stitch map object table to determine whether the current value is present in the first stitch map object key value field of any of the plurality of first stitch map object table key-object pairs; xxvi. Add a new first stitch map object table key-object pair to the first stitch map object table, store the current value in the first stitch map object key value field of the new first stitch map object table key-object pair, and store the unique corresponding table identifier of the current data table and a corresponding current data table row number corresponding to the current value in the first stitch map object table data object of the new first stitch map object table key-object pair if the current value is not present in the first stitch map object key value field of any of the plurality of first stitch map object table key-object pairs; xxvii. Add the unique corresponding table identifier of the current data table and the corresponding current data table row number corresponding to the current value in the first stitch map object table data object of an existing first stitch map object table key-object pair if the current value is present in the first stitch map object key value field of any of the plurality of first stitch map object table key-object pairs but the unique corresponding table identifier of the current data table and the data table field name of the data table field corresponding to the current value are not present in that first stitch map object table key-object pair; xxviii. Determine whether the current data record contains any values which have not been evaluated as in operations (xxv) through (xxvii) and if so, select a next value from the current data record which has not been evaluated as the current value and return to operation (xxv), otherwise perform the following operation; xxix. Determine whether the current data table contains any records containing any values which have not been evaluated as in operations (xxv) through (xxviii) and if so, designate a next current data record from the current data table containing at least one unevaluated value and designate an unevaluated data value in the next current data record as the current value and return to operation (xxv), otherwise perform the following operation; xxx. Determine whether any of the plurality of data tables contain any records containing any values which have not been evaluated as in operations (xv) through (xxix), and if so designate a next data table containing at least one unevaluated value as the current data table, designate a next current data record from the current data table containing at least one unevaluated value and designate an unevaluated data value in the next current data record as the current value and return to operation (xxv), otherwise perform the following operation; xxxi. Allow a user to create or select a search value, the search value comprising a target data value; xxxii. Check to see if the search value is present in the first index data value field of any of the plurality of first index table records and if so, output a subset of the plurality of first index table records in which the first index data value field contains the search value and perform the following operation, otherwise indicate to the user that the search value was not found and terminating the instructions; xxxiii. Output a subset of the plurality of first stitch object key-object pairs from the first stitch object table having a stitch object key value which contains the search value; and, xxxiv. Output a subset of the plurality of first stitch map object key-object pairs from the first stitch map object table having a stitch map object key value which contains the search value.
 6. A device for correlating multiple tables in a database environment as in claim 5, wherein the database management system application does not support the creation and maintenance of relationships between corresponding fields in at least two tables at the application level.
 7. A device for correlating multiple tables in a database environment as in claim 6, wherein the database management system application does not support the creation and maintenance of relationships between corresponding fields in at least two tables at the application level. 